package newx.com
{
	import flash.utils.describeType;
	
	import newx.com.config.StaticIni;
	import newx.com.control.button.NxButton;

	public class NxControlCreater
	{
		public function NxControlCreater()
		{
		}
		
		public static function CreatControl(val:NxUIComponent,...argc):void
		{
			var tSize	:uint	=	argc.length*.5;
			
			for(var i:int = 0 ; i < tSize ; i ++)
			{
				val[StaticIni.getIniVar("ControlConfig",argc[2*i])]	=	argc[2*i+1];
			}
		}
	}
}